package com.sihai.ehr.model.biz;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.sihai.core.BaseEntity;
import com.sihai.ehr.model.sys.Organization;

/**
 * <p>
 * <b> 考核项目设定实体类</b>
 * </p>
 * <p>
 * 考核项目中的desc1...10分别对应考核标准设置里优，良，差行记录》转换到项目设置中的列字段
 * </p>
 * 
 * <pre>
 * 	考核项目 	占比 	优秀(100-90) 			良好(89-70) 		一般(69-60) 			需加强(59-0)
 * 	专业知识 	10%	专业强，并能充分发挥达成任务 	专业能符合职责需要 		专业不足，需经培训才能胜任 		专业不足，学习力差
 * </pre>
 * 
 * @author Henry
 * 
 */
@Entity
public class ExamQualItemSet extends BaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6547098118116410521L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	/** 组织架构ID */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "organization_id")
	private Organization organization;

	/** 考核项目名称 */
	private String title;

	/** 占分比例 */
	private Float percentage;

	/** 特优 或优 */
	private String desc1;

	/** 优 或良 */
	private String desc2;

	private String desc3;

	private String desc4;
	private String desc5;
	private String desc6;
	private String desc7;
	private String desc8;
	private String desc9;
	private String desc10;

	/** 是否删除 */
	private boolean cancel;

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getPercentage() {
		return percentage;
	}

	public void setPercentage(Float percentage) {
		this.percentage = percentage;
	}

	public String getDesc1() {
		return desc1;
	}

	public void setDesc1(String desc1) {
		this.desc1 = desc1;
	}

	public String getDesc2() {
		return desc2;
	}

	public void setDesc2(String desc2) {
		this.desc2 = desc2;
	}

	public String getDesc3() {
		return desc3;
	}

	public void setDesc3(String desc3) {
		this.desc3 = desc3;
	}

	public String getDesc4() {
		return desc4;
	}

	public void setDesc4(String desc4) {
		this.desc4 = desc4;
	}

	public String getDesc5() {
		return desc5;
	}

	public void setDesc5(String desc5) {
		this.desc5 = desc5;
	}

	public String getDesc6() {
		return desc6;
	}

	public void setDesc6(String desc6) {
		this.desc6 = desc6;
	}

	public String getDesc7() {
		return desc7;
	}

	public void setDesc7(String desc7) {
		this.desc7 = desc7;
	}

	public String getDesc8() {
		return desc8;
	}

	public void setDesc8(String desc8) {
		this.desc8 = desc8;
	}

	public String getDesc9() {
		return desc9;
	}

	public void setDesc9(String desc9) {
		this.desc9 = desc9;
	}

	public String getDesc10() {
		return desc10;
	}

	public void setDesc10(String desc10) {
		this.desc10 = desc10;
	}

	public boolean isCancel() {
		return cancel;
	}

	public void setCancel(boolean cancel) {
		this.cancel = cancel;
	}
}
